package com.frxuexi.park2209.adapter

import android.util.Log
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.frxuexi.base.entity.PatrolBeanItem
import com.frxuexi.park2209.R

class PatrolAdapter:BaseQuickAdapter<PatrolBeanItem,BaseViewHolder>(R.layout.item_patrol) {
    override fun convert(helper: BaseViewHolder, item: PatrolBeanItem) {
        Log.i("===",item.toString())
        helper.setText(R.id.patrol_start,"开始时间：${item.pStart}")
        helper.setText(R.id.patrol_end,"结束时间：${item.pEnd}")

    }
}